package com.dianrui.operation.fragment;

import android.view.View;

import com.dianrui.operation.R;
import com.dianrui.operation.activity.ExchangePowerRecordActivity;
import com.dianrui.operation.activity.MaintenanceOrderListActivity;
import com.dianrui.operation.activity.MyFixListActivity;
import com.dianrui.operation.activity.PlaningRecordActivity;
import com.dianrui.operation.activity.ViolationOrderListActivity;

import butterknife.OnClick;

public class MineFragment extends BaseFragment {


    @Override
    public int getContentViewId() {
        return R.layout.fragment_mine;
    }

    @Override
    public void initView() {}



    @OnClick({R.id.click1, R.id.click2,R.id.click3,R.id.click4,R.id.click5})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.click1:
                JumpActivitys(MaintenanceOrderListActivity.class);
                break;
            case R.id.click2:
                JumpActivitys(ViolationOrderListActivity.class);
                break;

            case R.id.click3:
                JumpActivitys(MyFixListActivity.class);
                break;

            case R.id.click4:
                JumpActivitys(ExchangePowerRecordActivity.class);
                break;

            case R.id.click5:
                JumpActivitys(PlaningRecordActivity.class);
                break;

                default:
                    break;
        }
    }
}
